<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
   <title>DWR应用</title>
   <script language="javascript" src="dwr/interface/AjaxDate.js"></script>
   <script language="javascript" src="dwr/engine.js"></script>
   <script language="javascript" src="dwr/util.js"></script>
   <script language="javascript">
      function doTest() {
        AjaxDate.toString(load);
      }
	
      function load(data) {
         window.alert("现在时间是："+data);
      }
   </script>
</head>
<body>
   <input type="button" value="查询现在时间" onClick="doTest()">
</body>
</html>

